package cn.cool.domain.activity.service.trial;

import cn.cool.domain.activity.adapter.repository.IActivityRepository;
import cn.cool.types.design.framework.tree.AbstractMultiThreadStrategyRouter;

import javax.annotation.Resource;

/**
 * 抽象的拼团营销支持类
 */
public abstract class AbstractGroupBuyMarketSupport<MarketProductEntity, DynamicContext, TrialBalanceEntity>
        extends AbstractMultiThreadStrategyRouter<MarketProductEntity, DynamicContext, TrialBalanceEntity> {
    protected static final long timeout = 1000;

    @Resource
    protected IActivityRepository repository;

    @Override
    protected void multiThread(MarketProductEntity requestParameter, DynamicContext dynamicContext) throws Exception {
        // 缺省的方法，因为有一些树节点不需要异步加载数据
    }
}
